package com.yesep.learn.design.behavioral.iterator;

/**
 * 迭代器接口
 */
public interface IIterator<T> {
    boolean hasNext();

    T next();
}
